package com.ns.scs.task.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ns.core.entry.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 执行器
 *
 * @author liao.wei
 * @since 2024/11/11
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@Accessors(chain = true)
@TableName(value = "SCSS_SCHEDULED_ACTUATOR")
public class ScheduledActuator extends BaseModel {

    /**
     * 此模块对应的表名
     */
    public static final String TABLE_NAME = "SCSS_SCHEDULED_ACTUATOR";
    /**
     * 主键
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 名称
     */
    private String actuatorName;

    /**
     * 执行器类名
     */
    private String actuatorClass;
}
